package com.it.park.dao;

import java.util.List;
import java.util.Map;

import com.it.park.model.VisitInfo;

public interface VisitInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VisitInfo record);

    int insertSelective(VisitInfo record);

    VisitInfo selectByPrimaryKey(Integer id);
    
    VisitInfo selectByIPAndDate(Map<String, Object> map);

    int updateByPrimaryKeySelective(VisitInfo record);

    int updateByPrimaryKey(VisitInfo record);
    
    /**
     * 分页+查询
     */
    List<VisitInfo> selectPagination(Map<String, Object> map);
    
    /**
     * 分页+查询总记录
     */
   Integer selectTotal(Map<String, Object> map);
   
   List<VisitInfo> selectByArea();
}